from selenium import webdriver
import time

driver = webdriver.Chrome()
driver.get("https://www.ximalaya.com")

# 手动登录后按回车
input("登录完成后按回车继续...")

# 获取当前页面的全部 Cookie
cookies = driver.get_cookies()
print("所有 Cookie:")
for cookie in cookies:
    print(f"{cookie['name']}: {cookie['value']}")

driver.quit()